@layout("/common/_curd/_container.html"){

<link rel="stylesheet" href="${basePath}/static/style/css/main.css" />









	<script type="text/javascript">
		window.onload=function()
		{
			var bt=document.getElementById("bt");
			bt.onclick=function()
			{
				if(document.myform.name.value=="")
				{
					alert("用户名不能为空!");
					document.myform.name.focus();
					return false;
				}
				else if(document.myform.pw.value=="")
				{
					alert("密码不能为空!");
					document.myform.pw.focus();
					return false;
				}
			}
		}
	</script>
<form action="index.php" method="get" name="myform">
	<ul>
		<li>姓名:<input type="text" name="name" id="name" /></li>
		<li>密码:<input type="text" name="pw" id="age" /></li>
		<li><input type="submit" id="bt"/></li>
	</ul>
</form>
<div class="maindiv">
	<div class="main_child">
		111111111111
	</div>
	<div class="main_child">
		111111111111
	</div>
	<div class="main_child">
		111111111111
	</div>
	<div class="main_child">
		111111111111
	</div>
	<div class="main_child">
	111111111111
	</div>

</div>

@}
